package com.bs.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.bs.product.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lukang
 * @since 2022-11-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tbl_type")
@ApiModel("商品分类对象")
public class Type extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty("分类id")
    private Long id;
    @ApiModelProperty("分类名称")
    private String typeName;
    @ApiModelProperty("排序号")
    private Integer sort;


}
